package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("mall_customer_account")
@KeySequence(value = "mall_customer_account_SEQ")
@ApiModel(value = "MallCustomerAccount对象")
public class MallCustomerAccount implements Serializable{

       @ApiModelProperty(value = "appKey")
       private String appKey;

       @TableId(value = "customer_key", type = IdType.UUID)
       @ApiModelProperty(value = "渠道用户KEY")
       private String customerKey;

       @ApiModelProperty(value = "余额")
       private BigDecimal balance;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

       @ApiModelProperty(value = "更新时间")
       private Date updateTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
